package com.glory.erp.auth.base;

import java.io.Serializable;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;
@Transactional
public interface BaseService<T> {
	
	public void save(T t);

	public void update(T t);

	public void delete(T t);
	
	public List<T> findAll();

	public T findById(Serializable uuid);

	public List<T> findAll(BaseQueryModel qm, Integer pageNum,Integer pageCount);

	public Integer getCount(BaseQueryModel qm);
}